Xbasic

SYS_RESOLVE_URL Function

Syntax

L sys_resolve_url(C url )

Arguments

urlCharacter

A URL, FTP, or an email address. Character

Returns

ResultLogical

Returns .T. if operations succeeds. Otherwise .F.

Description

Link to a URL (mailto:,http:,ftp: etc).

SYS_RESOLVE_URL() executes the function implied by Input_String. If Input_String is a URL, the function opens the URL in a new browser window. If it is an email address, it opens a new message in your default email application. If it is an FTP address, it opens your FTP client and attempts to open a session with the FTP host.

This statement opens the specified page in your browser.

sys_resolve_url("https://documentation.alphasoftware.com/documentation/pages/index.html")

This statement opens a new message in your email program.

sys_resolve_url("mailto:[email protected]")

Limitations

Desktop applications only.

See Also